package com.外观模式;

public class TheatherLight {

    private static TheatherLight theatherLight=new TheatherLight();

    public static TheatherLight getInstance(){
        return theatherLight;
    }

    public void on(){
        System.out.println("灯光打开");
    }

    public void off(){
        System.out.println("灯光关闭");
    }

    public void dim(){
        System.out.println("灯光调暗");
    }

    public void bright(){
        System.out.println("灯光调亮");
    }
}
